From: Owen Taylor Date: Mon, 1 Dec 2008 21:53:49 +0000 (+0000) Subject: Fix width of application text items X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11539 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6bccda430e390768bd498a2e09f6ce6ce201cf2d;p=gnome-shell.git Fix width of application text items appdisplay.js: Fix missing parentheses for computation of the available width for the application name and description. svn path=/trunk/; revision=101 --- diff --git a/js/ui/appdisplay.js b/js/ui/appdisplay.js index 835609c7d..27032e280 100644 --- a/js/ui/appdisplay.js +++ b/js/ui/appdisplay.js @@ -87,7 +87,7 @@ AppDisplayItem.prototype = { this._group.add_actor(this._icon); let comment = appinfo.get_description(); - let text_width = width - me._icon.width + 4; + let text_width = width - (me._icon.width + 4); this._name = new Clutter.Label({ color: APPDISPLAY_NAME_COLOR, font_name: "Sans 14px", width: text_width,